﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace BookCaching.Data
{
    public class Address
    {
        public Address(Knihotoc_WCFService.Address address)
        {
            this.City = address.City;
            this.Description = address.Description;
            this.District = address.District;
            this.HouseNumber =  address.HouseNumber;
            this.Id = address.ID;
            this.Lat = address.Lat;
            this.Lon = address.Lon;
            this.Street = address.Street;
            this.StreetNumber = address.StreetNumber;
            this.ZIP = address.ZIP;
        }


        public string City { get; set; }

        public int? ZIP { get; set; }

        public string StreetNumber { get; set; }

        public string Street { get; set; }

        public float? Lon { get; set; }

        public float? Lat { get; set; }

        public int Id { get; set; }

        public string HouseNumber { get; set; }

        public string District { get; set; }

        public string Description { get; set; }
    }
}
